Basic structure as per hw3
A typo