Error corrected in Bar class