changed n to written