Added reinitialization and record structure