updated to work with assets and resources