added start/pause functionality