alternative way of toolbar configuration