work on SelectionModel.py