game loop works and theres a tree