use NULL for pointers
reformat header file