added print statements to test buttons