add the sign scan function