Using car functions inside user functions