Working with faulty inputs