starting adding medai queries