Refactored validInt to remove debug var.