Modified C to make it compatible with cats