changed return type from Quadruple[] to List<Quadruple> to match backend interface.