got rid of 0 values for time differences