working on implementation of geometry