Code used for the test outside the lab June 16