added helper methods to taxi model