rewriting entity drawing system (w.i.p.)