add generated files
implement RES