connect math buttons to controller