added mappping for quitting and saving