Learn the patterns properly