comments and some macro's for the read_buffer