Added global var for geometry