move endblock