Needs to be an instance variable, reset when buffer is full