condensed code now, user input for too many subpathitems