add indexes to plays

remove console.logs