adding in initial prototype converion code