minor changes

change interface for bar