what functions could this building have served