Add function fixed.