array as input for player