Added debug function to actor