added condition of No Solution