raw external resource logic