removed addCss in favor of addResource