create header files, kill bugs