added SPH functions and stuff