updated to use new header library