Build out button functionality