make roles in register array