initial draft of fragment conversion