when william wills died , chin was both surprised and delighted to discover that the old man , in his will , had left him a small bursary for the purpose of continuing his education , and had also stipulated that a position be made available in the company when he qualified as an architect .