building function and art gallery