c function
somechanges