change button to use variable amounts