put a mixin into the define functional stuff