Added StopAll function. Its been commented out of the code for further implementation