what happens when data.amount does not exist?