fixed small bug where the yearspan was hardcoded intead of taken from the tuple