added pairs table and filled it with time and distance