preliminary raw curl replacement