typo
Slightly refactored mixin structure, added debugging output