removed mit image
added some comments
removed unused code