by_tags method was refactored