Maybe reuse fields array instead of defining all properties for a second time in another array?