Some of the tags handling done