trying to add functionality to buttons.  weird bugs happening tho