templates populates with resource data