working on copy/convert functions