finished area code functionality