adjusting libcloudph calls to new function names