Variables and buttons for calculation