altering struct