passing all arguments to initialize method