refactor for sass and DRY