solved problems 78-79