(nth q 0) replaced with (first q)