added condition for (no data)