casting args.amount to int for sleep.
0.7.2