this was a mistake, Buffer has no method 'on'