reassign after reallocing