changed role data type to int