added some timing functionality