make amount private