fixign routine code...about to add routine assignments