New subroutine - get_acc_mod & minor bugs