errorhandling, validation and completed getAddress