On Detecting Time Varying Structures