removed require buffer