adding prototype geom functions