fixed small bug that was crashing app
fixed crashing on first visit
hw2 part 3 clear