moving address fuctions to subpackage