added generate_paths and test_generate_paths