implement show tree
write ugly comment