implement car and cdr meta function