Thinking code leave application