moved conn concat func to config array