Created Bar class