code to run pang et al experiments