started basics of button functionality

need to figure out how it works