init for assignment 1