moved to actor prototype