added tags and hits functionalities