final version of lab1