first attempt at hw1