robustness functions added
print removed