deleted some files and stop() function