added condition which is without query