Much of this castle rebuilding was planned and financed by James Hamilton of Finnart (c. 1495–1540), in addition to his work at Blackness Castle, Rothesay Castle, the house at Crawfordjohn, the "New Inn" in the St Andrews Cathedral Priory and the lodging at Balmerino Abbey for the ailing Queen Madeleine. Rather than slavishly copying continental forms, most Scottish architecture incorporated elements of these styles into traditional local patterns, adapting them to Scottish idioms and materials (particularly stone and harl). Similar themes can be seen in the private houses of aristocrats, as in Mar's Wark, Stirling (c. 1570) and Crichton Castle, built for the Earl of Bothwell in 1580s.