added missing pit.c