refactored concretize logic - less redundancy when rendering template and calling concretize multiple times