added validation for outcomes