testt for struct replacement