working backend, hooking up the frontend