doing assign resource/data_source