test for barMorph taken out, updated function for bar values