added possibility to set default values