Moved bars to a class