Basic impl for SCAN command