added the factory to get the address
formatted the address