changing interface to remove version from query