wrote tests for API and frontend, 100%