added static member record generation in main()