Changed loadLevel function to not take arguments