abtracted out hashtags and started assign events algorithm