Messed up assignment 3 somehow