adds validation for following