started on the custom tree model
bugfixes