added more options for sine wave feature