further implementation of Selection.py
further implementation of Selection.py