adds var to enable/disable toPlayer feature
removes console.log