change swift struct to class
change swift struct to class