removed unused code
Sketch to clear memory