add definition for stop instance