Second part of Lab03 project.