use of old C api ...