add playWithArray, playWithIndexArray method for binding