Formatting the hard drive before reinstalling the operating system does not remove all data, nor does simply restoring the OS to factory setting. Using secure-erase software is the only way to completely erase a drive.