checks for hw3-3