Added missing parameters to trip functions