stuff before rewriting geo.