updated stop method