some initial conversion work