updated added to timing function to save time