working on recursive input for nested list items