Added lim exception, cleaned.