added docs on using the scan function