forgot to add read_sam.cpp