reinstated version from release 73 so as to use SQL queries