Implementing area selection.