added /leave
added inline docs while using