Init commit
Extracted getTag method