Use var.id instead of a random one