added arrays and records