corrected the require macros