functionize default initialization