modified bar stuff