changed drawing order