added required defines