Log system inserted
Some problems solved.