created add fee to contract functionality