added npc rendering