moving to frontend/backend model