finally works with bar ws