nex require example