tag functionality added