added Resources to the template