all encoding/decoding functions are working..