hashtag logic mostly working