added foilgeometry