simplize input buffer strategy