Added endblock and winning text