made levelup instantiation include valueEncoding in examples