Added timing for analysis