factoring out CSS