using new array method
more work on scan management