health class approach but with testing