add reosurce generator helper