first complete working : TODO activate scanner