doin stuff for the homework