added resources support