create concat function