use error object to get stack trace
new module/package mechanism