move method to geometry