Change EnResource to non-static