completely rewritten in Sass