add template for resources