`dom` is a local, not instance variable