Lab3 - was working but broken somehow