getting objects resource works