started query class