added support for targetPlayer