refactoring placeholders to mixins