improved robustness
added values export method