added reason for failure