scan function is added.
web:change in html and model.