modified currency function