Added passing arguments to the constructor