--Introduced the concept of offsets
--Added function write_variable_no_offset