hacky functionality to support masquerading easier