implemented first working nmrview writer