made it select by tag name as well