impl. wc convert functions