removed support for multiple hashtags, added more conditions