issue 39; role text to role code added