add get_latest_reading
fix for get_latest_reading