completes stack