memory is copied now