Implemented very basic leveling