still can't get nested list to work correctly, this is much better though