changed timing method