executing version of actor template code ,not guaranteed correct