Final version of lab assignment