add mention functionality