added a feature for pulling latest relevant observations into window