start main play function