another attempt for sharing player array