added sdiffstore implementation.