wrote oscillator section
deleted unnecessary