another attempt to get the stop method working like intended