added code and amount field