implemented parser of header, can view tree now