still alpha version (with many fixes and not using QTree)