simplify tag creating
test coverage