ROLE can occur multiple times

I realised that ROLE can occur multiple times so I've updated the code to allow for this.