the data is lost even if referenced after the constructor it seems