In addition to being practically useful what other aspects did a building need in order to be considered functional