added some defs