fixed some geometry problems and added a place holder for a future search feature