bring node.js callback style (err as a firtst parameter)
can be helpful for #2