Incomplete attempt at hw3