Just enough to pass homework 6