finish
fix d_hard not defined
commit before merging finish to master
sigh