add a role method to Density