implemented tabs for area selection.