Add playing logic