wrote another scanner