implemented live view scanning