solved problems 21,23