removed custom SQL.