working with 0.5x frequency
additional cleanup