clean code about tags adding