code from tacc for the sugar brain project