Added Quit Function