Solved several problems, commented