- code cleanup
- gain control