prepared for frontend app