refactored make tagging ctr in own file