compute amount to pay
add search button