1 bug left, next is tree compiler work