buffer input