finalized version of lab01