added fuctionality for getting transit details