added scanner for scala lang