EXIT fuction & pic