condensed to 2 functions + if statement
adding button functionality via digi pin 5