changed for use with new header file.