refactory building info view