Quit Function Added