tool bar is buggy but implemented