add the hks replication code
add figures