implemented 'tagging' feature