added lib.h