missing None added for modified get_scan_table