further code cleanup

added tripscounter pckg