further work on resources and objects
tweak