adding support for tags by timerange