scanner now skips comments