Destroyed lab5 code, restarting from lab 4 code