Changed to named arguments for get_buildings