changed delimter to header variable