prints to find paths