some line endings changed :(. also reset() -> clear()