added -delim option