first attempt to do role mapping