buffer is no longer array