startup class code for hw7