@ab_trader Looks like the "if" was the problem. Didn't realize I had to use bt.If in init(). Used lineNum too but not sure if I had to, I'll just leave it though. Thanks!
For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/