role is now int instead of string