delimeter can now be passed in as a parameter