added taxi analysis code