simple delta encoding interface