Part1 of assign4 as of 4:39AM 11.8.2013