took out an unnecessary variable in code_buffer