renamed restorePom() function to restoreSed()