handled errors from Friday's lab