renamed measure to bar