changed current and amount param keys