optimize way of listing roles