modified defs.h