Tried to get the code to compile without errors