Fleshing out quit function and call