introduced barRecord Struct