Add error handling to all your functions etc.. make a sub that does the pager stuff. I know there is a control that can use a pager, I've never done any direct modem programming though so I couldn't help with that part.