Updated component snippet