Modified 3 classes, fixed errors.