removed printStacktrace