made headers as first row optional

2 second fix, please review and let me know if acceptable