added leavenotice library