added 'where' method.