removing unnecessary junk