Afterdot and pad routines working.