added w-define and array