works

flushes the buffer into final_out though, some squares n' stuff