Added queries to MainModel