removed getAllHashTags function as it is not being used