Add createCreature function