solved problems 23-25