added another way to handle mixins