[wip] double learning, death by segfault