first iteration of lab5