copy from Ex