comment ad function