debugging, not sure why route # messes up (segfaults or prints out poorly)