Added initializer list way to set parameters