implemented nativeBars stuff