temporarily placed code inside static function loadRecords()