str literals to resource