Removed scrap, added some comments.