added rest of anc and shifted to 5-7 scheme