added comments and types for rights