c-code in manual upated