add exit methods