finished example getting temporal extents