Added exceptions to handle when the wrong field is specified