removing unnecessary items
converting to role