sorted out playing logic again