dc implementation, racing bug fix, code refactor..
commit!!