deleted unnecessary part on assignment2