reworked frontend. moving to backend.