encode working, i think
gen problem tested
encoding and decoding works on single block
commiting before push