instead of unit.chDevNinja, this should be: this.chDevNinja