toolbar functional