finally assignment1 done!