performing a bit of clean up