got the leveling system working properly