extent registration support added
 fixed function name to make more sense