Use var for compound key