homeworks 5 - 8