base setup for assignment 7