change roles to table instead of a string of bits