Finally scanner workin