re-sizing Recipe 11 in Ch.3