copied the file here because of homework.