updated learn codes