read buffer declerations