eliminated extra terminal delimiter