stage 3 of lab work
about to refactor secion 3
refactoring s3