part of homework3
stuff removed