math works, button workaround in place