improving bar1 method