improve c syntax