restructure resources