initial conversion functions