refactor in stop and start al