query no longer required other than for development