added rights library