rerouting for buttons