wrote transcription transversion function