some validation on result function