hack for role