added fail count
merged master