Add source function when not available