a lot of bugs fixes; implementation of chord sticks more to specification; handle 50% of failure