- Got rid of the "own" member of buffer and replaced it with a lambda.