added a parameter to only register with the original segments