codes for the blocks I worked on yesterday (4/22/2014)