adding comments and testing agaisnt fake SAM files