add play function to cli browser