trying to implement kami. Failing in being defined.