create data structure with using Records