add stack implemented by linked list after compilation