implement get by fields