implement stop execution method