Added calculate amount