added contact stub; add universal clean function on exit