start/pause/stop functionality added