implemented $where query operator