added functions to css_parser.rs