updated field names, added validation to ensure web service call works