Working player passed by refrence between directives