restructure with resources