another homework fixes