use extern vars to dry up 1-20