add encoding and advance levelup