updated to match tags.py