added in bed file reader instead of AS structure