commented actor.cpp