adding Haodong's template