test and refine resource creation