adding resources and style