renamed elems to tkns
removed #t and #f conversion
removed printlns