SPH, debug needed