function #008 add the scan function (the equals function to be )