change roles to use instance var