Strip more the register sources function