Added validations for bar