First version with player sync
Removing useless code