Added MC Query Lib