refactored basic resource, less copy-paste now
+multiresource