remove c function, already exists elsewhere