finished hw1.5-1