add the function to print all level