all research code so far