Added timing logging