unit.h and readme