Added pipeline input validation