role logic document added