funtional parsing
parsing address components