implement fieldExists