use resource assembler