Can we just add "[\n" in the else to avoid having to remove it here?