added function to add tcs when creating conf