Redundant functions and sentences were removed from "main.c".