thank you justin, pre-recursion seems to be working