Create initializator for records