process logic clear