duplicate vars and moved player player only var to correct location