figured out the issue, js was compacting the array when printing it, lst is working as expected
lst code is now more compact