basic adventure loop works