He refined his architectural and engineering skills while on campaign with the Janissaries, becoming expert at constructing fortifications of all kinds, as well as military infrastructure projects, such as roads, bridges and aqueducts.