added boilerplate for reads, references