adding main changes