added condition to listings