caar functions added.