added documentation for the formatCss method