parser is working, but slow on larger inputs; no printing yet, but it's upcoming after sleep