added two more calls to button functions