return values to geometry functions added.