Replace Temp with Query (thisAmount with each.getCharge())