changed buffer sizes