new BOEQuery class