make constant (MAX_BUFFER) a constant