refactored default arguments
using from parent module, fixes #8