solved ch01ex05