allowing where and predicte