added validation for apgar selections