changed definition order so level editor looks better