Trying out c api