added properties to scanner function callback