Add checking state to import