Made Record into struct instead of class