fixed a failing test
implemented onFindBars
implemented bars search