Baseline code for Lab5