added address function to header