initialize resources working