control loop works in Simulink!