refactor building class state arrary