Replace Temp with Query -> remove thisAmount