completed first part of homework