implemented correct start/stop logic (which now works!)