assignment2 notes and queiries