csv dynamic for frontend