This is a small snippet for frontend.