Makes code more robust