Update encode.h

Still figuring out the implementation of encode.h in make_variable