method stop() added