Implementation of Where