basic stuff from hw4