Added preliminary work on selection problem