legal stuff and botton rework