changes for struct