creating actor.c