eol warning
small function naming adjustments
rename code.length tp mem_length with lots of noise impact
collect all add functions at bottom (rename too)