checked some defs with code