Handled restricting to single error
Working till now