Jason's post thesis code