Adding scan code. Baby steps.