Added add delta function