switched to use a header file