let the main return the value to the EXIT system call