In terms of planning, each of the outer points of the star had towers, while the inner angles had gates. Each of the gates was an outlet of radial avenues that each passed through a market square, dedicated to certain goods. All the avenues finally converged in a large square which was centrally located. The town contained three squares – one for the prince’s palace, one for the cathedral, and one for the market. Because the Renaissance was much taken with the idea of the canal town, in Filarete's Sforzinda every other street had a canal for cargo transport. The canal system also connected with the river, and thus the outside world, for the import and export of goods. The city also contained many buildings, including parishes and separate schools for boys and girls. An example of a building that appears in the treatise is Filarete’s House of Vice and Virtue, a ten-storey structure with a brothel on the bottom and an academy of learning on the higher levels. Filarete did much study on representation of Vices and Virtues, and there are suggestions that his radial design for the city was inspired by St. Augustine’s Earthly City, whose circular shape was divided into sections, each of which had its own Vice and Virtue.