added configurable delimiter as arg