take away some unecessary stuff in the foote