added selectors and frontend prototype