adding a range in tag retrieval