some changes to coding 2