corrected documentation and header file