first half of assignment 4