add endblock id