added delete selected operation and support for other selected operations