Changed saveLevel() and removed numcode