ex12 and the require method