Remordered functions in main.c.