scan with type