ensured that actor.h header file is used properly