i'm not sure that we can assume an `id` will necessarily be a number.  maybe `id != null` is a better check.