added code to extract information from UIPickers