updated extractAbc