lab_7 project SPO fixed