added lab tests & logic