xml code for model selection