set up the model to handle selections