Update main.c

Functions' name changed