assignment 3 initialize