finally got my botton to responde correctly with the amount entered