finish with logic of buttond start and stop