basic procedure loop works w/ feedback