Added string argument to class constructor