assignment 2 initial state - copy of assignment 1