Naive solution to lab2