created playItem() method