removed the dependency on index.css