added leveling system