rename c methods