Implemented where, on, and