tried to calculate length of call