basic tag functionality added