Added parameters in constructor