initial attempt at resource compilation