1st attempt for hw3