Added last comment to the else if conditional and took out commit counter.