Prototype of right management, this needs more work...