My hugginn implementation