adding fine_elements_() to ui.py